/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const BasicDataRouter = {
  path: '/basicdata',
  component: Layout,
  redirect: 'noRedirect',
  name: 'BasicData',
  meta: {
    title: '基础数据管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'organizational',
      component: () => import('@/views/BasicData/Organizational'),
      name: 'Organizational',
      meta: { title: '机构管理', noCache: true }
    },

    {
      path: 'scope',
      component: () => import('@/views/BasicData/Scope'),
      name: 'Scope',
      meta: { title: '机构作业范围', noCache: true }
    },
    {
      path: 'freightpipe',
      component: () => import('@/views/BasicData/FreightPipe'),
      name: 'FreightPipe',
      meta: { title: '运费管理', noCache: true }
    }

  ]
}

export default BasicDataRouter
